package com.xinhe.web.reposity;

import com.xinhe.web.entity.GoodsZoneType;
import com.xinhe.web.response.GoodsZoneTypeView;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface GoodsZoneTypeRepository  extends JpaRepository<GoodsZoneType, Long> {
    @Query(value = "select * from tb_goods_zone_type", nativeQuery = true)
    List<GoodsZoneTypeView> pageGoodsZoneType();
}
